<style>
    .tainguyen{
        margin-top: 20px;
        margin-left: 20px;
    }
    .title{
        margin-top: 10px;
        margin-left: 10px;
        font-size: 15px;
        font-weight: bold;
    }
</style>

<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>
<div class="left-col">
  <div class="tainguyen">
      <?php
    $this->beginWidget('zii.widgets.CPortlet', array(
                    'title'=>'Tài nguyên',
            ));
    ?>
    
        <span class="title">
            Phần mềm adobe presenter:
        </span>
        <a href="<?php echo Yii::app()->baseUrl;?>/data/tainguyen/huongdan.doc">Tải về</a>
        <br>
        <span class="title">
            Hướng dẫn sử dụng adobe presenter:
        </span>
        <a href="<?php echo Yii::app()->baseUrl;?>/data/tainguyen/huongdan.doc">Tải về</a>

        <?php
        $this->endWidget();
        ?>
</div> 
</div>

<div class="right-col" style="padding: 20px 10px 10px 10px;">
    <?php
        if (!isset(Yii::app()->user->userId) ) {
                $this->beginWidget('zii.widgets.CPortlet', array(
                        'title'=>'Đăng nhập',
                ));
                        $this->renderPartial('_login');
                $this->endWidget();
        }
        
        $this->beginWidget('zii.widgets.CPortlet', array(
                    'title'=>'Tìm kiếm',
            ));
                $this->renderPartial('_search');
        $this->endWidget();
    
    ?>
</div>

<div style="clear: both"></div>
<script>
    function show(){
        document.getElementsByTagName('iframe')[0].style.display = 'inline';
        document.getElementById('thumbnail-web').style.display = 'none';
    }
</script>